package com.qiuling.iot.service;

import com.qiuling.iot.entity.SysDept;
import com.qiuling.iot.vo.req.DeptAddReqVO;
import com.qiuling.iot.vo.req.DeptUpdateReqVO;
import com.qiuling.iot.vo.resp.DeptRespNodeVO;

import java.util.List;

/**
 * @Author：zhangqiang
 * @Description：
 * @Date：Created in 17:16 2020/2/11
 * @Modified By：
 */
public interface DeptService {

    List<SysDept> selectAll();

    List<DeptRespNodeVO> deptTreeList(String deptId);

    SysDept addDept(DeptAddReqVO vo);

    void updateDept(DeptUpdateReqVO vo);

    void deletedDept(String id);
}
